package org.example.mybatisdemo.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.mybatisdemo.model.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoXMLMapper {

    List<UserInfo> selectAll();

    Integer insert(UserInfo userInfo);

    Integer insert2(@Param(("userInfo")) UserInfo userInfo);

    Integer delete(Integer id);

    Integer update(UserInfo userInfo);
}
